{% extends "base_test.html" %}

{% block content %}

	<div style="width: 500px; float: left;">
	
		<table cellspacing="0">

			<thead>
			<tr>
				<th class="action-checkbox-column">

				<input type="checkbox" id="action-toggle" style="display: inline-block; ">
				</th><th>
				<a href="?ot=asc&amp;o=1">
				Status id
				</a></th><th>
				<a href="?ot=asc&amp;o=2">
				Name
				</a></th><th>
				<a href="?ot=asc&amp;o=3">
				Market direction 1
				</a></th><th>
				<a href="?ot=asc&amp;o=4">
				Market direction 2
				</a></th><th>
				<a href="?ot=asc&amp;o=5">
				Timelevel m
				</a></th><th>
				<a href="?ot=asc&amp;o=6">
				Created at
				</a></th>
			</tr>
			</thead>

			<tbody>
			{% for item in csts %}

				<tr class="{% cycle 'row1' 'row2' as rowslass %}">
					<td>{{ item.pk }}</td>
					<td>{{ item.status_name }}</td>
					<td>{{ item.name }}</td>
					<td>{{ item.market_direction_name_1 }}</td>
					<td>{{ item.market_direction_name_2 }}</td>
					<td>{{ item.timelevel_m }}</td>
					<td>{{ item.created_at }}</td>
				</tr>

			{% endfor %}
			</tbody>

		</table>
	
	</div>

{% endblock %}

{% block sidebar %}

	<div style="float: left; width: 200px;">
	<ul>
		<li><b>Portfolio Administration</b></li>
		<li>Trading Systems</li>
		<li>Portfolios</li>
	</ul>
	</div>

{% endblock %}

